home *** CD-ROM | disk | FTP | other *** search
/ Max Special: Max Gallery / Max Special Gallery.iso / pc / ascens.dir / 00010_Movie Script.ls < prev    next >
Encoding:
Text File  |  1997-04-03  |  1.9 KB  |  104 lines

  1. on startMovie
  2.   global controlsAreActive, riff, isComingFromASC, fromFrame, fromMovie
  3.   cursor(-1)
  4.   set controlsAreActive to 0
  5.   set riff to 1
  6.   set isComingFromASC to 1
  7.   set fromFrame to EMPTY
  8.   set fromMovie to EMPTY
  9.   hideStills()
  10. end
  11.  
  12. on stopMovie
  13.   showStills()
  14. end
  15.  
  16. on idle
  17.   testControlsRollover()
  18. end
  19.  
  20. on testStillRollover
  21.   if rollOver(2) then
  22.     set the visible of sprite 2 to 1
  23.   else
  24.     if rollOver(3) then
  25.       set the visible of sprite 3 to 1
  26.     else
  27.       set the visible of sprite 2 to 0
  28.       set the visible of sprite 3 to 0
  29.     end if
  30.   end if
  31. end
  32.  
  33. on hideStills
  34.   set the visible of sprite 2 to 0
  35.   set the visible of sprite 3 to 0
  36. end
  37.  
  38. on showStills
  39.   set the visible of sprite 2 to 1
  40.   set the visible of sprite 3 to 1
  41. end
  42.  
  43. on testRollOverCredit
  44.   if rollOver(7) then
  45.     gDisabilitaAltri(7, 7, 9)
  46.     gFlashRoller(7, 73, EMPTY)
  47.   else
  48.     if rollOver(8) then
  49.       gDisabilitaAltri(8, 7, 9)
  50.       gFlashRoller(8, 71, EMPTY)
  51.     else
  52.       if rollOver(9) then
  53.         gDisabilitaAltri(9, 7, 9)
  54.         gFlashRoller(9, 75, EMPTY)
  55.       else
  56.         gDisabilitaTutto(7, 9)
  57.       end if
  58.     end if
  59.   end if
  60. end
  61.  
  62. on testRollOverAvaCredit
  63.   if rollOver(8) then
  64.     gDisabilitaAltri(8, 7, 9)
  65.     gFlashRoller(8, 71, EMPTY)
  66.   else
  67.     if rollOver(9) then
  68.       gDisabilitaAltri(9, 7, 9)
  69.       gFlashRoller(9, 75, EMPTY)
  70.     else
  71.       gDisabilitaTutto(7, 9)
  72.     end if
  73.   end if
  74. end
  75.  
  76. on testRollOverIndCredit
  77.   if rollOver(7) then
  78.     gDisabilitaAltri(7, 7, 9)
  79.     gFlashRoller(7, 73, EMPTY)
  80.   else
  81.     if rollOver(9) then
  82.       gDisabilitaAltri(9, 7, 9)
  83.       gFlashRoller(9, 75, EMPTY)
  84.     else
  85.       gDisabilitaTutto(7, 9)
  86.     end if
  87.   end if
  88. end
  89.  
  90. on testW95Rollover
  91.   if rollOver(4) then
  92.     puppetSprite(5, 0)
  93.     gFlashRoller(4, 90, EMPTY)
  94.   else
  95.     if rollOver(5) then
  96.       puppetSprite(4, 0)
  97.       gFlashRoller(5, 92, EMPTY)
  98.     else
  99.       puppetSprite(4, 0)
  100.       puppetSprite(5, 0)
  101.     end if
  102.   end if
  103. end
  104.